// Copyright 2014 Google Inc. All Rights Reserved.

#include <sys/cdefs.h>
#include <sys/types.h>

#include <sys/param.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include "arpa_nameser.h"
#include "resolv_private.h"
#include "resolv_cache.h"
#include <assert.h>
#include <ctype.h>
#include <errno.h>
#include <netdb.h>
#include <stdarg.h>
#include <stdio.h>
#include <strings.h>

int h_error;

int
gethostbyname_r(const char *name, struct hostent *hp, char *buf, size_t buflen,
    struct hostent**result, int *errorp)
{
  h_error = NO_RECOVERY;
  *errorp = h_error;
  return -1;
}

struct hostent *
gethostbyname(const char *name)
{
  h_error = NO_RECOVERY;
  return NULL;
}

struct hostent *
gethostbyname2(const char *name, int af)
{
  h_error = NO_RECOVERY;
  return NULL;
}

struct hostent *
gethostbyaddr(const void *addr, socklen_t len, int af)
{
  h_error = NO_RECOVERY;
  return NULL;
}

struct hostent *
gethostent(void)
{
  h_error = NO_RECOVERY;
  return NULL;
}

struct servent *getservbyname(const char *name, const char *proto) {
  return NULL;
}

struct servent *getservbyport(int port, const char *proto) {
  return NULL;
}
